package com.demo.api.service.dict;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.demo.api.vo.dict.DictReq;
import com.demo.api.vo.dict.DictRes;
import com.demo.client.model.dict.SysDict;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IDictService {

    IPage<DictRes.Page> pages(DictReq.Query req, Page<SysDict> page);

    List<DictRes.Page> dictList(DictReq.Query req);

    void create(DictReq.Create create);

    void update(DictReq.Update create);

    void delDict(Long id);
}
